﻿using MediatR;
using ProduceBasicData.ErrorCode;

namespace ProduceBasicData.Api.Application.Command.DeviceManage.Project
{
    /// <summary>
    /// 更新项目表单命令
    /// </summary>
    public class UpdateProjectFormCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 系统编码
        /// </summary>
        public string? FormCode { get; set; }

        /// <summary>
        /// 表单名称
        /// </summary>
        public string? FormName { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string? FormType { get; set; }

        /// <summary>
        /// 描述
        /// </summary>
        public string? Description { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
